package org.inspursc.s0517.health.evaluation.service;

import org.inspursc.s0517.health.evaluation.dto.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


/**
 *institution assessment
 */
public interface InsSurveyAnswerService {
    //save assessment
    InsSurveyAnswerGradeDTO saveAnswer(InsSurveyAnswerDTO insSurveyAnswerDTO, HttpServletRequest request) throws Exception;

    //find by id
    InsSurveyAnswerGradeDTO findOneById(Integer id);

    //get answer detail
    AssessmentAnswerDateilsDTO getAnswerDetailById(Integer id, HttpServletRequest request);

    //find by orgnization id
    List<InsSurveyAnswerDTO> findAllByOrganizationId(int id);

    boolean deleteAnswerById(int id);
}
